package com.gs.gaosheng.mapper;

import com.gs.gaosheng.vo.CouponVo;
import com.gs.gaosheng.vo.ShowVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShowGoodsWebMapper {


    public List<ShowVo> selectByStatus(Long statusName);

    public List<ShowVo> selectByGoodsId(Long goodsId);
    public List<ShowVo> selectByType(Long typeId);

    public List<ShowVo> selectByLike(String searchName);

    public List<CouponVo> selectCouponByUserId(Long userId);
    public List<CouponVo> selectCouponByCouponStatus(@Param("userId") Long userId, @Param("couponStatus") Long couponStatus);



}
